<template>
  <div class="not-found">
    <div class="content">
      <div class="error-code">404</div>
      <h1>页面未找到</h1>
      <p>抱歉，您访问的页面不存在或已被移除</p>
      <router-link 
        to="/"
        class="home-btn"
      >
        返回首页
      </router-link>
    </div>
  </div>
</template>

<style scoped>
.not-found {
  min-height: calc(100vh - var(--nav-height) - var(--player-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.content {
  max-width: 400px;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.home-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.home-btn:hover {
  background-color: var(--secondary-color);
}

@media (max-width: 768px) {
  .error-code {
    font-size: 6rem;
  }

  h1 {
    font-size: 1.5rem;
  }
}
</style>